<?
/**
 * <b>CharityType Class</b>
 * Published 04/11/2010 18:57:18
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('CharityStatusCodeType.php');

class CharityType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var string $CharityID
	public $CharityID;
	// @var boolean $CharityListing
	public $CharityListing;
	// @var string $CharityName
	public $CharityName;
	// @var int $CharityNumber
	public $CharityNumber;
	// @var float $DonationPercent
	public $DonationPercent;
	// @var string $LogoURL
	public $LogoURL;
	// @var string $Mission
	public $Mission;
	// @var CharityStatusCodeType $Status
	public $Status;
 /** End Properties **/

/**
 *
 * @return string
 */
	function getCharityID(){
		return $this->CharityID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCharityID($value){
		$this->CharityID = $value;
	}


/**
 *
 * @return boolean
 */
	function getCharityListing(){
		return $this->CharityListing;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCharityListing($value){
		$this->CharityListing = $value;
	}


/**
 *
 * @return string
 */
	function getCharityName(){
		return $this->CharityName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCharityName($value){
		$this->CharityName = $value;
	}


/**
 *
 * @return int
 */
	function getCharityNumber(){
		return $this->CharityNumber;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCharityNumber($value){
		$this->CharityNumber = $value;
	}


/**
 *
 * @return float
 */
	function getDonationPercent(){
		return $this->DonationPercent;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDonationPercent($value){
		$this->DonationPercent = $value;
	}


/**
 *
 * @return string
 */
	function getLogoURL(){
		return $this->LogoURL;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setLogoURL($value){
		$this->LogoURL = $value;
	}


/**
 *
 * @return string
 */
	function getMission(){
		return $this->Mission;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMission($value){
		$this->Mission = $value;
	}


/**
 *
 * @return CharityStatusCodeType
 */
	function getStatus(){
		return $this->Status;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStatus($value){
		$this->Status = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("CharityType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"CharityID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CharityListing"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CharityName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CharityNumber"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DonationPercent"=>
					array(
						"required"=>false,
						"type"=>"float",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"LogoURL"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Mission"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Status"=>
					array(
						"required"=>false,
						"type"=>"CharityStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
